package com.sunny.gateway.dto;


import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class Menu implements Serializable {


	private String serviceName;

	private List<MenuDTO> menuDTOList = new ArrayList<>();

	@Data
	public static class MenuDTO implements Serializable{
		private boolean ignoreAuth;

		private String preAuthorize;

		private String url;

		private String method;

	}


}
